﻿using Cirrious.MvvmCross.Wpf.Views;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using TeaLightV5.Foundation.UX.Wpf.MvvmCross.Views;

namespace TealightV5.UI.WPF
{
    public class SimplePresenter : TeaWpfViewPresenter
    {
        private readonly MainWindow _mainWindow;

        public SimplePresenter(MainWindow mainWindow)
        {
            _mainWindow = mainWindow;
            _mainWindow.Presenter = this;
        }

        public override void Present(FrameworkElement frameworkElement)
        {
            _mainWindow.Present(frameworkElement);
        }
    }
}